Write-Host "=== 自动交易系统备份 ===" -ForegroundColor Cyan
Write-Host "开始备份..." -ForegroundColor Yellow

# 执行Git操作
git add .
git commit -m "自动备份: $(Get-Date -Format 'yyyy-MM-dd HH:mm:ss')"
git push

Write-Host "✅ 备份完成！" -ForegroundColor Green
Write-Host "按任意键关闭窗口..." -ForegroundColor Gray
$null = $Host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")